package com.mazaiting.websocket;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * websocket 应用服务入口
 *
 * @author mazaiting
 * @create_time 2022/4/19 17:33
 */
@EnableDiscoveryClient
@SpringBootApplication
@ComponentScan(basePackages = "com.mazaiting")
public class ApolloWebsocketApplication {

    public static void main(String[] args) {
        try {
            SpringApplication.run(ApolloWebsocketApplication.class, args);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

}